package com.xuehu.cloud.alibaba;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author guoweia@cslc.com.cn
 * @create 2021/1/12 17:34
 * @desc
 */
@RestController
public class PaymentController {
    @Value("${server.port}")
    private  String serverPort;

    @GetMapping("/nacos/port")
    public String getServerPort() {
        return  "我是支付服务::端口号::" + serverPort;
    }
}
